﻿/**********************************************************************
 * @file   InformationWidget.h
 * @brief  信息界面
 * @author BaGuijun (baguijun@163.com)
 * @date   2024-09-11
 *********************************************************************/
#ifndef _InformationWidget_H_
#define _InformationWidget_H_

#include "CFDPostUIComponents_global.h"
#include "GUIWidgetBase.h"

namespace Ui {
    class InformationWidget;
}

namespace Interface {
    class FITKCFDPost3DManager;
    class FITKAbstractCFDPostData;
}

namespace GUI {
    class CFDPOSTUICOMPONENTS_EXPORT InformationWidget : public GUIWidgetBase {
        Q_OBJECT;
      public:
        /**
         * @brief    构造函数
         * @param[i] parent     父对象
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-09-11
         */
        explicit InformationWidget(QWidget* parent = nullptr);
        /**
         * @brief    析构函数
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-09-11
         */
        virtual ~InformationWidget();
        /**
         * @brief    初始化
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-09-13
         */
        void init();
        /**
         * @brief    更新界面
         * @param[i] postDataID      后处理数据id
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-09-13
         */
        void updateCurrentGraphObj(int postDataID);
      private:
        /**
         * @brief    更新表格
         * @author   BaGuijun (baguijun@163.com)
         * @date     2024-09-13
         */
        void updateTable();
      private:
        /**
         * @brief  ui
         * @author BaGuijun (baguijun@163.com)
         * @date   2024-09-13
         */
        Ui::InformationWidget* _ui = nullptr;
    };
}

#endif
